import { BasePageQo } from '@/base/api/BaseQo'

export type SysMenuListVo = {
  // [[ OnflowGenerator Range (- listVo -) Start ]]
  id: number
  title: string
  name: string
  component?: string
  parentId: number
  idPath?: string
  orderNum: number
  icon?: string
  hiddenMenu: boolean
  hiddenTag: boolean
  enable: boolean
  canTo: boolean
  noPermission: boolean
  platformType: string
  remark?: string
  createUser: number
  updateUser: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- listVo -) End ]]
}

export type SysMenuDetailVo = {
  // [[ OnflowGenerator Range (- detailVo -) Start ]]
  id: number
  title: string
  name: string
  component?: string
  parentId: number
  idPath?: string
  orderNum: number
  icon?: string
  hiddenMenu: boolean
  hiddenTag: boolean
  enable: boolean
  canTo: boolean
  noPermission: boolean
  platformType: string
  remark?: string
  createUser: number
  updateUser: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- detailVo -) End ]]
}

export type SysMenuSearchQo = BasePageQo & {
  // [[ OnflowGenerator Range (- pageQo -) Start ]]
  id?: number
  title?: string
  name?: string
  component?: string
  parentId?: number
  idPath?: string
  orderNum?: number
  icon?: string
  hiddenMenu?: boolean
  hiddenTag?: boolean
  enable?: boolean
  canTo?: boolean
  noPermission?: boolean
  platformType?: string
  remark?: string
  createUser?: number
  updateUser?: number
  createTime?: string
  updateTime?: string
  excludeId?: number
  // [[ OnflowGenerator Range (- pageQo -) End ]]
}

export type SysMenuEditQo = {
  // [[ OnflowGenerator Range (- editQo -) Start ]]
  id?: number
  title?: string
  name?: string
  component?: string
  parentId?: number
  idPath?: string
  orderNum?: number
  icon?: string
  hiddenMenu?: boolean
  hiddenTag?: boolean
  enable?: boolean
  canTo?: boolean
  noPermission?: boolean
  platformType?: string
  remark?: string
  createUser?: number
  updateUser?: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- editQo -) End ]]
}
